home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C22 / Vendor.h < prev   
Encoding:
C/C++ Source or Header  |  2000-05-25  |  556 b   |  29 lines

  1. //: C22:Vendor.h
  2. // From Thinking in C++, 2nd Edition
  3. // Available at http://www.BruceEckel.com
  4. // (c) Bruce Eckel 1999
  5. // Copyright notice in Copyright.txt
  6. // Vendor-supplied class header
  7. // You only get this & the compiled Vendor.obj
  8. #ifndef VENDOR_H
  9. #define VENDOR_H
  10.  
  11. class Vendor {
  12. public:
  13.   virtual void v() const;
  14.   void f() const;
  15.   ~Vendor();
  16. };
  17.  
  18. class Vendor1 : public Vendor {
  19. public:
  20.   void v() const;
  21.   void f() const;
  22.   ~Vendor1();
  23. };
  24.  
  25. void A(const Vendor&);
  26. void B(const Vendor&);
  27. // Etc.
  28. #endif // VENDOR_H ///:~
  29.